Repository navigation
Conversation
Knowledge contributions declaring gemini-4-neon currently fail model admission. Add that exact identity, as requested by the owner, with no aliases. The official Gemini API and Google Cloud model pages confirm the canonical ID and list its thinking levels as low, medium, high (default) and xhigh (checked 2026-11-27). Neon has no max level, so its admitted effort set is xhigh only; the evaluator's qualifying set is unchanged. Record the check, the thinking_level parameter name and the non-admitted aliases in the policy document. Extend the admission tests: Neon passes at xhigh and fails at max with "effort is not allowed", fails at every other effort, rejects inferred aliases and near-miss IDs (including the separately gated cyber-permissive variant), honours suspension, and fails a mixed declaration in either position. The evaluator, exception process, protected paths, existing models and trusted-main policy selection are unchanged. This is an admission-policy change; it does not qualify knowledge content or run a model. Agent-assisted-by: Claude Code / claude-opus-5-5 [effort=xhigh] (author) Signed-off-by: Dong1017 <[email protected]>
zengchuang-hw
approved these changes
Nov 27, 2026
zengchuang-hw
left a comment
Contributor
There was a problem hiding this comment.
PASS
dot, acting for zengchuang-hw.
首审 #754 的精确策略增量。对比 policy JSON 后,唯一新增条目是 gemini-4-neon,aliases 为空、未暂停、efforts 仅 xhigh;其他模型、保护路径、例外和审批人没有变化。Google 官方表明确默认 high、最高 xhigh,不含 max。说明、测试和配置一致。
独立运行固定 main 的实际 model_errors 对候选 JSON:准确 ID+xhigh 通过;默认 high、max、大小写/别名和其他变体拒绝,暂停与混合非合规作者也拒绝。未执行模型或完整工作流。正式批准只反映独立代码检视,不是例外。候选策略不会被该 PR 自己的 trusted-main 状态提前采用;合入后应核对受影响 PR 的精确 head 刷新。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Governing Issue and delivery slice
Refs #754
gemini-4-neonwith no aliases, following the shape of policy: admit GPT-6.1 Terra at xhigh and max #298, policy: admit Claude Fable 5.2 at xhigh and max #439 and policy: admit GPT-6.2 Astra and GPT-6.2 Sol, stop admitting GPT-6-Astra, GPT-6.1 Sol and GPT-6.1 Terra #499.6b1d1bc7, onmain477446f6:.github/knowledge-model-policy.json: a newgemini-4-neonentry with"efforts": ["xhigh"], no aliases, not suspended, and the Gemini API model page assource.docs/knowledge-model-policy.md: a Gemini 4 Neon row in the owner table,thinking_leveladded to the line that names each vendor's effort parameter, and one paragraph. The paragraph records the 2026-11-27 doc check, says that Neon has nomaxlevel and is admitted atxhighonly, maps Google Cloud'sXHIGHspelling to the declaredxhigh, and lists the aliases that are not admitted.tests/knowledge/test_knowledge_model_policy.py: the new cases listed in the evidence table.{xhigh, max}. It also leaves unchanged the exception process, protected paths, trusted-main policy selection and the four existing entries. It does not admit other Gemini 4 models or the allowlist-onlygemini-4-neon-cyber-permissive. It does not run a model and does not qualify knowledge content.Knowledge authorship declaration
This PR changes
policy_pathsonly (the policy JSON and its document) and no protected knowledge path, so the declaration is disclosure only. Checks use the target branch's policy, so this PR's own status does not exercise the new entry; the tests below do.Changed artifacts and evidence
gemini-4-neon, exact ID, no aliasestest_gemini_4_neon_qualifies_at_xhigh_only:xhighpassesassesswith "Declaration compliance only""efforts": ["xhigh"]; doc paragraphmaxfails with exactlyMaterial AI author 1: effort is not allowed.test_effort_is_exact_set_membershipnow includes Neon:low,medium,high,none,minimal,ultra,maximum,unknown,XHIGH,MAX,xhigh,maxall failtest_unknown_models_and_inferred_aliases_failaddsgemini-4,neon,Gemini 4 Neon,GEMINI-4-NEON, leading and trailing spaces,models/gemini-4-neon,gemini-4-neon-latest,gemini-4-neon-cyber-permissiveandgemini-4-hydrogen; all failgemini-4-neon; a mixed declaration withgemini-4-neonatmaxfails in either position and reports only that authorDoc check (2026-11-27). The pages were fetched with
curlfrom a Linux host, because the local network cannot reach them.gemini-4-neon", "Stable:gemini-4-neon", and "Thinking: Supported (low, medium, high, xhigh)". The page lists no other version or alias.gemini-4-neon | On (high) | low, medium, high, xhigh. No model in that table lists amaxlevel.minimalis "Not supported on Gemini 4 models".gemini-4-neon-cyber-permissiveas a separate model ID with allowlist-only access.Open PRs (scanned 2026-11-27 before opening, 26 open). No open PR body mentions Gemini, so merging this changes no open PR's verdict.
Checks and dependencies
python -m pytest -o addopts= -q -p no:cacheprovider tests/knowledge/test_knowledge_model_policy.pyon head6b1d1bc7: 229 passed. Environment: local Windows 11, Python 3.13.5, pytest 9.0.2..github/knowledge-model-policy.jsonrestored tomain, the Gemini/Neon subset (-k "gemini or neon") gives 2 failed and 22 passed. The two failures aretest_gemini_4_neon_qualifies_at_xhigh_onlyand thegemini-4-neonsuspension case, so the new tests read the new entry. The 22 rejection cases also pass onmain, where any Neon declaration is rejected as unapproved.uvx [email protected] check tests/knowledge/test_knowledge_model_policy.py tools/check_knowledge_model_policy.py: all checks passed. 0.17.6 is the version installed in the latest greenci-readyrun (45935560246). The policy JSON parses, andgit diff --checkis clean.full-checkis authoritative.main. The entry takes effect for open PRs only once it is onmain, because the workflow evaluates trustedmain.Remaining work and Issue closure
Provenance
One commit on
main477446f6. No merge, amend, force push or skipped hooks. The policy JSON, document and tests were written in a Claude Code session reported asclaude-opus-5-5with effortxhigh. This is client/session attribution, not a backend attestation. Passing tests is not policy approval.Agent-assisted-by: Claude Code / claude-opus-5-5 [effort=xhigh] (author)
🤖 Generated with Claude Code